package com.ustcinfo.ishare.kafka.monitor.service;

import com.ustcinfo.ishare.kafka.monitor.bean.KafkaConfigFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Created by Shinelon on 2018/4/17
 */
public interface IKafkaConfigFileService {
    public void insert(KafkaConfigFile kafkaConfigFile);

    public void removeAll();

    public void removeByName(@Param("name")String name);

    public void removeById(@Param("id")Integer id);

    public KafkaConfigFile getKafkaConfigFileById(@Param("id")Integer id);

    public List<KafkaConfigFile> findKafkaConfigFileByName(String name);

    public List<KafkaConfigFile> findAllKafkaConfigFile();

    public List<KafkaConfigFile> findKafkaConfigFileByPage(@Param("pageStart") int start,@Param("pageSize")int size);

    public List<KafkaConfigFile> findKafkaConfigFile(@Param("name") String name ,@Param("beginTimeValue") Long beginTime ,@Param("endTimeValue") Long endTime);
}
